package com.yidu.ladder.base.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * 班车包装类
 * 
 * @author yy
 * @since 2019-12-2
 *
 */
public class BusVo implements Serializable {

	/**
	 * 序列号
	 */
	private static final long serialVersionUID = -2612955367829121319L;

	/**
	 * 班车Id
	 */
	private String busId;

	/**
	 * 车牌号码
	 */
	private String busNumber;

	/**
	 * 线路Id
	 */
	private String routeId;

	/**
	 * 线路名
	 */
	private String routeName;

	/**
	 * 班车类型Id
	 */
	private String subsetId;

	/**
	 * 班车类型名
	 */
	private String subsetName;

	/**
	 * 司机Id
	 */
	private String staffId;

	/**
	 * 司机手机号
	 */
	private String staffPhone;

	/**
	 * 承运商
	 */
	private String acceptTrader;

	/**
	 * 吨位
	 */
	private String tons;

	/**
	 * 描述
	 */
	private String description;

	/**
	 * 是否可用
	 */
	private String useable;

	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 开始索引
	 */
	private Integer page;

	/**
	 * 查询行数
	 */
	private Integer limit;

	/**
	 * 无参数的构造方法
	 */
	public BusVo() {

	}

	/**
	 * 带有参数的构造方法
	 * 
	 * @param busId        班车Id
	 * @param busNumber    车牌号码
	 * @param routeId      线路Id
	 * @param routeName    线路名
	 * @param subsetId     班车类型Id
	 * @param subsetName   班车类型名
	 * @param staffId      司机Id
	 * @param staffPhone   司机手机号
	 * @param acceptTrader 承运商
	 * @param tons         吨位
	 * @param description  描述
	 * @param useable      是否可用
	 * @param createTime   创建时间
	 * @param page         开始索引
	 * @param limit        查询行数
	 */
	public BusVo(String busId, String busNumber, String routeId, String routeName, String subsetId, String subsetName,
			String staffId, String staffPhone, String acceptTrader, String tons, String description, String useable,
			Date createTime, Integer page, Integer limit) {
		super();
		this.busId = busId;
		this.busNumber = busNumber;
		this.routeId = routeId;
		this.routeName = routeName;
		this.subsetId = subsetId;
		this.subsetName = subsetName;
		this.staffId = staffId;
		this.staffPhone = staffPhone;
		this.acceptTrader = acceptTrader;
		this.tons = tons;
		this.description = description;
		this.useable = useable;
		this.createTime = createTime;
		this.page = page;
		this.limit = limit;
	}

	public String getBusId() {
		return busId;
	}

	public void setBusId(String busId) {
		this.busId = busId;
	}

	public String getBusNumber() {
		return busNumber;
	}

	public void setBusNumber(String busNumber) {
		this.busNumber = busNumber;
	}

	public String getRouteId() {
		return routeId;
	}

	public void setRouteId(String routeId) {
		this.routeId = routeId;
	}

	public String getRouteName() {
		return routeName;
	}

	public void setRouteName(String routeName) {
		this.routeName = routeName;
	}

	public String getSubsetId() {
		return subsetId;
	}

	public void setSubsetId(String subsetId) {
		this.subsetId = subsetId;
	}

	public String getSubsetName() {
		return subsetName;
	}

	public void setSubsetName(String subsetName) {
		this.subsetName = subsetName;
	}

	public String getStaffId() {
		return staffId;
	}

	public void setStaffId(String staffId) {
		this.staffId = staffId;
	}

	public String getStaffPhone() {
		return staffPhone;
	}

	public void setStaffPhone(String staffPhone) {
		this.staffPhone = staffPhone;
	}

	public String getAcceptTrader() {
		return acceptTrader;
	}

	public void setAcceptTrader(String acceptTrader) {
		this.acceptTrader = acceptTrader;
	}

	public String getTons() {
		return tons;
	}

	public void setTons(String tons) {
		this.tons = tons;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getUseable() {
		return useable;
	}

	public void setUseable(String useable) {
		this.useable = useable;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getPage() {
		return page;
	}

	public void setPage(Integer page) {
		this.page = page;
	}

	public Integer getLimit() {
		return limit;
	}

	public void setLimit(Integer limit) {
		this.limit = limit;
	}

	@Override
	public String toString() {
		return "BusVo [busId=" + busId + ", busNumber=" + busNumber + ", routeId=" + routeId + ", routeName="
				+ routeName + ", subsetId=" + subsetId + ", subsetName=" + subsetName + ", staffId=" + staffId
				+ ", staffPhone=" + staffPhone + ", acceptTrader=" + acceptTrader + ", tons=" + tons + ", description="
				+ description + ", useable=" + useable + ", createTime=" + createTime + ", page=" + page + ", limit="
				+ limit + "]";
	}

}
